/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title 刘一半同学
 * @Description *
 * @Package designmodel.observe2.observer
 * @date 2021/3/4 11:39 上午
 * @Copyright:学如逆水行舟，不进则退 .
 */
package designmodel.observe2.observer;

import java.text.MessageFormat;

public class LiuYiBan {
    public void shutDownEarPhone(String action, String homeWork) {
        System.out.println(MessageFormat.format("刘一半得知 {0} 后，吓得马上摘掉耳机,装作写{1}。", action, homeWork));
    }
}
